<?php
/**
 * @name /themes/PageParams.php
 * @author Michael Foss <mfoss@clarionsafety.com>
 * @version 2007.07.02
 * 
 * This is the PageParams class for all frameworks.
 */

ini_set('short_open_tag', 'On');

/**
 * PageParams class.
 *
 */
class PageParams {
  /**
   * Page title - defaults to nothing.
   *
   * @var string
   */
  var $Title;
  /**
   * Post title - defaults to $GLOBALS['Conf']['SiteName'].
   *
   * @var string
   */
  var $PostTitle;
  /**
   * Page description used in Description metatag.
   *
   * @var string
   */
  var $Description;
  /**
   * Array of keywords used in Keywords metatag.
   *
   * @var string[]
   */
  var $Keywords;
  /**
   * Tells whether page needs https access.
   *
   * @var boolean
   */
  var $IsSecure;

  /**
   * Class constructor and copy constructor.
   *
   * @param PageParams $p
   * @return PageParams
   */
  function PageParams() {
    $this->Title = '';
    $this->PostTitle = $GLOBALS['Conf']['SiteName'];
    $this->Description = '';
    $this->Keywords = array();
    $this->IsSecure = false;
  }
}